Autogenerated HTML docs for v2.22.0-545-g9c9b96
diff --git a/git-multi-pack-index.html b/git-multi-pack-index.html index 5510f2a..f578702 100644 --- a/git-multi-pack-index.html +++ b/git-multi-pack-index.html
@@ -749,7 +749,7 @@ <h2 id="_synopsis">SYNOPSIS</h2> <div class="sectionbody"> <div class="verseblock"> -<pre class="content"><em>git multi-pack-index</em> [--object-dir=<dir>] <verb></pre> +<pre class="content"><em>git multi-pack-index</em> [--object-dir=<dir>] <subcommand></pre> <div class="attribution"> </div></div> </div> @@ -774,13 +774,15 @@ <code><dir>/packs</code> for the pack-files to index. </p> </dd> +</dl></div> +<div class="paragraph"><p>The following subcommands are available:</p></div> +<div class="dlist"><dl> <dt class="hdlist1"> write </dt> <dd> <p> - When given as the verb, write a new MIDX file to - <code><dir>/packs/multi-pack-index</code>. + Write a new MIDX file. </p> </dd> <dt class="hdlist1"> @@ -788,8 +790,39 @@ </dt> <dd> <p> - When given as the verb, verify the contents of the MIDX file - at <code><dir>/packs/multi-pack-index</code>. + Verify the contents of the MIDX file. +</p> +</dd> +<dt class="hdlist1"> +expire +</dt> +<dd> +<p> + Delete the pack-files that are tracked by the MIDX file, but + have no objects referenced by the MIDX. Rewrite the MIDX file + afterward to remove all references to these pack-files. +</p> +</dd> +<dt class="hdlist1"> +repack +</dt> +<dd> +<p> + Create a new pack-file containing objects in small pack-files + referenced by the multi-pack-index. If the size given by the + <code>--batch-size=<size></code> argument is zero, then create a pack + containing all objects referenced by the multi-pack-index. For + a non-zero batch size, Select the pack-files by examining packs + from oldest-to-newest, computing the "expected size" by counting + the number of objects in the pack referenced by the + multi-pack-index, then divide by the total number of objects in + the pack and multiply by the pack size. We select packs with + expected size below the batch size until the set of packs have + total expected size at least the batch size. If the total size + does not reach the batch size, then do nothing. If a new pack- + file is created, rewrite the multi-pack-index to reference the + new pack-file. A later run of <em>git multi-pack-index expire</em> will + delete the pack-files that were part of this batch. </p> </dd> </dl></div> @@ -848,7 +881,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2018-10-09 20:51:01 PDT + 2019-07-19 12:46:47 PDT </div> </div> </body>